
<?php  foreach ($homemessage['statuses'] as $key => $value) : ?>
<div class="message">
	<a href="<?php echo $wbdetailurl ;?>?height=500&width=700&mid=<?php echo $value['mid'] ;?>" title="查看微博" class="thickbox">
	<div class="messageimage">
		<?php if(!empty($value['bmiddle_pic'])): ?>
			<a href="<?php echo $value['bmiddle_pic'];?>" title="<?php echo $value['text'] ?>" class="thickbox">
			<img src="<?php echo $value['bmiddle_pic'];?>" alt="" >
			</a>
		<?php endif; ?>
	</div>
	<div class="headerimg">
		<img src="<?php echo $value['user']['profile_image_url'] ?>" alt="" class = 'messageheader'>
		<span><?php echo $value['user']['screen_name'] ?></span>
	</div>
	<div class = "messagecontentinside"><?php echo $value['text'] ?></div>
	</a>
</div>
<?php endforeach; ?>
